package com.achievement.mapper;


import com.achievement.domain.entity.BookEntity;
import com.achievement.domain.param.BookParam;
import com.achievement.domain.vo.BookVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
* @author CNKI
* @description 针对表【biz_book(科研成果-学术著作列表)】的数据库操作Mapper
* @createDate 2025-02-21 16:56:26
* @Entity generator.domain.BizBook
*/
public interface BookMapper extends BaseMapper<BookEntity> {

    List<BookVO> getList(@Param(value = "param") BookParam param, @Param(Constants.WRAPPER) Wrapper<BookEntity> queryWrapper);

    List<BookVO> getListByExport(@Param(value = "param") BookParam param, @Param(Constants.WRAPPER) Wrapper<BookEntity> queryWrapper);

    List<HashMap<String, Integer>> listStatistics(@Param(value = "param")BookParam param,@Param(Constants.WRAPPER) LambdaQueryWrapper<BookEntity> queryWrapper);
}




